package com.xjj.service.feign;

import com.xjj.entity.ResponseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author sjy
 * @create 2022-10-25 17:19
 */
@FeignClient("job")
@RequestMapping("/job/admin/job")
public interface JobFeignClient {
    @PostMapping("updateJobStatus/{id}")
    public ResponseEntity<String> updateJobStatus(@PathVariable("id") Integer id);
}
